$(() => {
    // 检测cookie是否登录
    let isLogin = $.cookie("isLogin");

    if (!isLogin) {
        location.href = "/html/login.html";
        return;
    }
});